package com.douxg.fastCoding.web.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.douxg.fastCoding.spring.base.MyBaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @Description
 * @Auther douxg
 * @Date 2021/6/4 12:30
 */
@TableName("cfg")
@Data
@Accessors(chain = true)
public class Cfg extends MyBaseEntity {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField
    private String name;
    @TableField
    private String val;
    @TableField
    private String defVal;
    @TableField
    private Integer type;
    @TableField
    private String describe;

    public interface Column {
        String ID = "id";
        String NAME = "name";
        String VAL = "val";
        String defval = "defVal";
        String TYPE = "type";
        String DESCRIBE = "describe";
    }
}
